
// js对象
var person={
    firstName : 'zhang',
    lastName : 'YouFeng',
    age : 22,
    eyeColor : 'black',

    fullName: function (){
        var fName = this.firstName + " " + this.lastName;
        return fName;
    }


}

console.log(person.firstName);

console.log(person.fullName());

console.log(person.fullName);

function myFunction(bookname, author){
    console.log("bookname:" + bookname);
    console.log("author:" + author);
}

var name = "zyf";

name = 123456;
